﻿using D.Medicalcare.Domain.Entities;
using D.Medicalcare.ErrorCode;
using MediatR;

namespace D.Medicalcare.Read.API.Application.Command.LoginCommand
{
    /// <summary>
    /// 登录命令
    /// </summary>
    public class LoginCommand:IRequest<APIResult<User>>
    {
        /// <summary>
        /// 账号
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Pass { get; set; }
    }
}
